//
// Created by MyPC on 2018/10/31.
//

#include <fstream>
#include <sstream>
#include "FileUtils.h"

std::string FileUtils::FileUtils::readFile(const char* filePath) {
    std::ifstream in(filePath);
    std::ostringstream tmp;
    tmp << in.rdbuf();
    std::string str = tmp.str();
    return str;
}
